package com.dkha.common.enums;

/**
 * @ClassName: 是否枚举
 * @Description: 使用数字
 * @author: yanping
 * @date: 2020-01-06
 * @Copyright: 成都电科惠安
 */
public enum YNNumberEnum {
    YES(1, "是"),
    NO(0, "否");
    public Integer code;
    public String name;

    YNNumberEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }
}
